//
//  QuitLoginCell.m
//  EPTool
//
//  Created by guoshiqing on 2018/4/24.
//  Copyright © 2018年 云数动能科技. All rights reserved.
//

#import "QuitLoginCell.h"
#import "Macro.h"
#import "UIView+DDAddition.h"

@interface QuitLoginCell ()
@property (nonatomic, strong) UILabel *lblQuit;
@end

@implementation QuitLoginCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.frame = frame;
        [self addSubviews];
    }
    return self;
}

- (void)addSubviews
{
    [self addSubview:self.lblQuit];
}

#pragma mark - 懒加载
- (UILabel *)lblQuit
{
    if (!_lblQuit) {
        _lblQuit = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, UI_SCREEN_WIDTH, self.height)];
        _lblQuit.font = SystemFont(16.f);
        _lblQuit.textColor = [EPColor epColor_RedText];
        _lblQuit.text = @"退出登录";
        _lblQuit.textAlignment = NSTextAlignmentCenter;
    }
    return _lblQuit;
}

@end
